<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%><%
	String ssoid = request.getParameter("ssoid");
	String type = request.getParameter("type");
	if("logname".equals(type)){
	    String logname = com.ce.util.DbUtil.getFirstStringSqlQuery("select p.vc_log$name from SYS_T_SESSION$INF s,sys_t_person p where s.session_value=p.vc_id and s.SESSION_ID=? and s.add_date>sysdate-1",
				new Object[]{ssoid});
	    out.print(logname);
	}
	else{
	    String userId = com.ce.util.DbUtil.getFirstStringSqlQuery("select SESSION_VALUE from SYS_T_SESSION$INF where SESSION_ID=? and add_date>sysdate-1",
				new Object[]{ssoid});
	    out.print(userId);
	}
%>